#version 320 es
#ifdef GL_ES
	precision highp float;
#endif
in vec2 iVertex;
in vec2 iInstancedVertex;
uniform float uY;
uniform float uInstancedY;

uniform mat4 uMVP;

void main() {
	vec2 pos = iVertex + iInstancedVertex;
	gl_Position =  uMVP * vec4(pos.x, uY + uInstancedY, pos.y, 1.0);
}